package com.guangzi.mapper;

import com.guangzi.common.Pager;
import com.guangzi.entity.Reward;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RewardDao extends BaseDao {

    Reward findTmoney(@Param("uid") Long uid);

    void updateState(Reward reward);

    void updateTjmoney(Reward reward);

    @Override
    List<Object> listPagerCriteria(@Param("pager") Pager pager, @Param("query")Object obj);

    @Override
    Long countCriteria(@Param("query") Object obj);

}
